﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UCLHFenHuQS.ascx.cs" Inherits="Web.Controls.LAIHAN.UCLHFenHuQS" %>
<%@ Register Assembly="DevExpress.Web.v15.2, Version=15.2.9.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web" TagPrefix="dx" %>
<style type="text/css">
    td {
    white-space:nowrap;
    }
</style>
<script type="text/javascript">
    //分户号变更事件 计算合同合
    function YHH1_LostFocus(s)
    {
        if (s.GetText() == "" || s.GetText().length != 7) {
            UCLHFenHuQS_txtHTH1.SetText("");
        }
        else {
            UCLHFenHuQS_ASPxCallback1.PerformCallback("hth1");
        }
    }
    function YHH2_LostFocus(s) {
        if (s.GetText() == "" || s.GetText().length != 7) {
            UCLHFenHuQS_txtHTH2.SetText("");
        }
        else {
            UCLHFenHuQS_ASPxCallback1.PerformCallback("hth2");
        }
    }
    function YHH3_LostFocus(s) {
        if (s.GetText() == "" || s.GetText().length != 7) {
            UCLHFenHuQS_txtHTH3.SetText("");
        }
        else {
            UCLHFenHuQS_ASPxCallback1.PerformCallback("hth3");
        }
    }
    //启禁用分户3
    function fenhu3Enabled(s)
    {
        var enabled = s.GetChecked();
        UCLHFenHuQS_txtYHH3.SetEnabled(enabled);
        UCLHFenHuQS_txtYHM3.SetEnabled(enabled);
        UCLHFenHuQS_cmbZGBM3.SetEnabled(enabled);
        UCLHFenHuQS_txtYSJ3.SetEnabled(enabled);
        UCLHFenHuQS_cmbYWY3.SetEnabled(enabled);
        UCLHFenHuQS_cmbXZQ3.SetEnabled(enabled);
        UCLHFenHuQS_cmbHXBJ3.SetEnabled(enabled);
        UCLHFenHuQS_cmbQSYT3.SetEnabled(enabled);
        UCLHFenHuQS_cmbHYFL3.SetEnabled(enabled);
        UCLHFenHuQS_cmbLY3.SetEnabled(enabled);
        UCLHFenHuQS_cmbSLFP3.SetEnabled(enabled);
        UCLHFenHuQS_cmbSZYFQ3.SetEnabled(enabled);
        UCLHFenHuQS_cmbZBJL3.SetEnabled(enabled);
        UCLHFenHuQS_txtLXR3.SetEnabled(enabled);
        UCLHFenHuQS_txtLXBM3.SetEnabled(enabled);
        UCLHFenHuQS_txtYB3.SetEnabled(enabled);
        UCLHFenHuQS_txtLXDH3.SetEnabled(enabled);
        UCLHFenHuQS_txtDZ3.SetEnabled(enabled);
        UCLHFenHuQS_txtCWHM3.SetEnabled(enabled);
        UCLHFenHuQS_txtCWDZ3.SetEnabled(enabled);
        UCLHFenHuQS_txtCWYB3.SetEnabled(enabled);
        UCLHFenHuQS_txtKHHM3.SetEnabled(enabled);
        UCLHFenHuQS_txtKHYH3.SetEnabled(enabled);
        UCLHFenHuQS_txtKHZH3.SetEnabled(enabled);
        UCLHFenHuQS_cbTS3.SetEnabled(enabled);
        UCLHFenHuQS_txtHTH3.SetEnabled(enabled);
        UCLHFenHuQS_btn13.SetEnabled(enabled);
        UCLHFenHuQS_btn23.SetEnabled(enabled);
        UCLHFenHuQS_btn31.SetEnabled(enabled);
        UCLHFenHuQS_btn32.SetEnabled(enabled);
    }
    function yonghuhPress()
    {       
        if(event.keyCode==13)
        {
            setTimeout(function () {

            }, 0);
            event.preventDefault ? event.preventDefault() : (event.returnValue = false);
            if (UCLHFenHuQS_txtYongHuHYuan.GetText()=="")
            {
                alert("请输入原用户号");
                return;
            }
            if (UCLHFenHuQS_txtYongHuHYuan.GetText().length!=7)
            {
                alert("用户号应为7位");
                return;
            }
            UCLHFenHuQS_ASPxCallback1.PerformCallback("yhh");
        }
    }

    function UCLHFenHuQS_CallbackCommonComplete(rs) {
        var arr = rs.split('|');
        var type = arr[0];
        var state = arr[1];
        var specialIdentity = arr[2];
        var msg = arr[3].split('-');
        if (msg[0] == 'True') {
            alert(msg[1]);
        }
        UCLHFenHuQS_hdCollection.Set("type", type);
        if (state == 'True') {
            if (type == "yhh") {              
                UCLHFenHuQS_btnActPerform.onClick();
            }
            else if (type == "hth1") {
                UCLHFenHuQS_txtHTH1.SetText(arr[4]);
            }
            else if (type == "hth2") {
                UCLHFenHuQS_txtHTH2.SetText(arr[4]);
            }
            else if (type == "hth3") {
                UCLHFenHuQS_txtHTH3.SetText(arr[4]);
            }
        }
    }
</script>

<dx:ASPxHiddenField ID="hdCollection" ClientInstanceName="UCLHFenHuQS_hdCollection" runat="server"></dx:ASPxHiddenField> 
                <dx:ASPxCallback ID="ASPxCallback1" ClientInstanceName="UCLHFenHuQS_ASPxCallback1" runat="server" OnCallback="ASPxCallback1_Callback" ClientSideEvents-CallbackComplete="function(s,e){UCLHFenHuQS_CallbackCommonComplete(e.result);}"></dx:ASPxCallback>
<dx:ASPxButton ID="btnActPerform" ClientInstanceName="UCLHFenHuQS_btnActPerform" runat="server" Text="ASPxButton" OnClick="btnActPerform_Click" ClientVisible="false" UseSubmitBehavior="false"></dx:ASPxButton>
<fieldset style="border: 1px solid  cornflowerblue;margin:auto;">
    <legend><b>用户基本信息</b></legend>
    <table>
        <tr>
            <td>登记文号：</td>
            <td>
                <dx:ASPxTextBox ID="txtLaiHanBH"  ReadOnly="true" runat="server" Width="100%"></dx:ASPxTextBox>
            </td>
            <td>原用户号：</td>
            <td>
                <dx:ASPxTextBox ID="txtYongHuHYuan" ClientInstanceName="UCLHFenHuQS_txtYongHuHYuan" runat="server" Width="100%">
                    <ClientSideEvents  KeyDown="function(s,e){yonghuhPress();}" />
                </dx:ASPxTextBox>
            </td>
            <td>
                <dx:ASPxCheckBox ID="cbQiYongFH3" runat="server" Text="启用分户3">
                    <ClientSideEvents  CheckedChanged="function(s,e){fenhu3Enabled(s);}"/>
                </dx:ASPxCheckBox>
            </td>
        </tr>
    </table>
</fieldset>
<div >
    <fieldset runat="server" id="tabTopInfo" style="border: 1px solid  cornflowerblue;padding-top:1px;">
    <table>
    <tr>
        <td align="right" style="white-space: nowrap;">受理日期：</td>
        <td>
            <table>
                <tr>
                    <td style="width: 100px;">
                        <dx:ASPxTextBox ID="txtShouLiRQ" runat="server" Width="100px"></dx:ASPxTextBox>
                    </td>
                    <td align="right" style="width: 1%; white-space: nowrap;">&nbsp; 业务员：
                    </td>
                    <td>
                        <dx:ASPxTextBox ID="txtYeWuY" runat="server" Width="80px"></dx:ASPxTextBox>
                    </td>
                    <td></td>
                </tr>
            </table>
        </td>
    </tr>
</table>
        </fieldset>
    </div>
<div id="tabUserInfo" runat="server">
    <table style="margin:auto;width:100%">
        <tr>
             <td runat="server" id="td_FenHu1"  style="width:33%">
                 <fieldset style="border: 1px solid  cornflowerblue;">
                <legend><b>分户1</b></legend>
                     <div>
                         <table style="width:100%">
       <tr>
        <td style="text-align: right">
            用户号：
        </td>
        <td>
            <dx:ASPxTextBox ID="txtYHH1" ClientInstanceName="UCLHFenHuQS_txtYHH1" runat="server" Width="100%" ClientSideEvents-LostFocus="function(s,e){YHH1_LostFocus(s);}"></dx:ASPxTextBox>
        </td>
        <td style="text-align: right">
        </td>
        <td></td>
    </tr>
        <tr>
            <td style="text-align: right">用户名：
            </td>            
            <td colspan="3">
                <dx:ASPxTextBox ID="txtYHM1" ClientInstanceName="UCLHFenHuQS_txtYHM1" runat="server" Width="100%"></dx:ASPxTextBox>
            </td>
        </tr>
        <tr runat="server" id="trYH1ZGBM">
            <td style="text-align: right">主管部门：
            </td>            
            <td colspan="3">
                <dx:ASPxComboBox ID="cmbZGBM1" ClientInstanceName="UCLHFenHuQS_cmbZGBM1" runat="server" ValueType="System.String" Width="100%">
                    </dx:ASPxComboBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: right">水价：
            </td>
            <td>
                <dx:ASPxTextBox ID="txtYSJ1" ClientInstanceName="UCLHFenHuQS_txtYSJ1" runat="server" Width="100%"></dx:ASPxTextBox>
            </td>
            <td style="text-align: right">
                业务员：
            </td>
            <td>
                 <dx:ASPxComboBox ID="cmbYWY1" ClientInstanceName="UCLHFenHuQS_cmbYWY1" runat="server" ValueType="System.String" Width="100%"></dx:ASPxComboBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: right">行政区：
            </td>
            <td>
                <dx:ASPxComboBox ID="cmbXZQ1" ClientInstanceName="UCLHFenHuQS_cmbXZQ1" runat="server" ValueType="System.String" Width="100%"></dx:ASPxComboBox>
            </td>
            <td style="text-align: right">
                环线标记：
            </td>
            <td>
                 <dx:ASPxComboBox ID="cmbHXBJ1" ClientInstanceName="UCLHFenHuQS_cmbHXBJ1" runat="server" ValueType="System.String" Width="100%"></dx:ASPxComboBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: right">取水用途：
            </td>
            <td>
                <dx:ASPxComboBox ID="cmbQSYT1" ClientInstanceName="UCLHFenHuQS_cmbQSYT1" runat="server" ValueType="System.String" Width="100%"></dx:ASPxComboBox>
            </td>
            <td style="text-align: right">
                行业分类：
            </td>
            <td>
                 <dx:ASPxComboBox ID="cmbHYFL1" ClientInstanceName="UCLHFenHuQS_cmbHYFL1" runat="server" ValueType="System.String" Width="100%"></dx:ASPxComboBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: right">流域：
            </td>
            <td>
                <dx:ASPxComboBox ID="cmbLY1" ClientInstanceName="UCLHFenHuQS_cmbLY1" runat="server" ValueType="System.String" Width="100%"></dx:ASPxComboBox>
            </td>
            <td style="text-align: right">
                水利分片：
            </td>
            <td>
                 <dx:ASPxComboBox ID="cmbSLFP1" ClientInstanceName="UCLHFenHuQS_cmbSLFP1" runat="server" ValueType="System.String" Width="100%"></dx:ASPxComboBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: right">水资源分区：
            </td>
            <td>
                <dx:ASPxComboBox ID="cmbSZYFQ1" ClientInstanceName="UCLHFenHuQS_cmbSZYFQ1" runat="server" ValueType="System.String" Width="100%"></dx:ASPxComboBox>
            </td>
            <td style="text-align: right">
                装表计量：
            </td>
            <td>
                 <dx:ASPxComboBox ID="cmbZBJL1" ClientInstanceName="UCLHFenHuQS_cmbZBJL1" runat="server" ValueType="System.String" Width="100%">
                     <Items>
                         <dx:ListEditItem Text="是" Value="1" />
                         <dx:ListEditItem Text="否" Value="0" />
                     </Items>
                 </dx:ASPxComboBox>
            </td>
        </tr>
                             <tr>
                                 <td colspan="4"><hr /></td>
                             </tr>
                             <tr>
            <td style="text-align: right">联系人：
            </td>
            <td>
                <dx:ASPxTextBox ID="txtLXR1" ClientInstanceName="UCLHFenHuQS_txtLXR1" runat="server" Width="100%"></dx:ASPxTextBox>
            </td>
            <td style="text-align: right">
                联系部门：
            </td>
            <td>
                <dx:ASPxTextBox ID="txtLXBM1" ClientInstanceName="UCLHFenHuQS_txtLXBM1" runat="server" Width="100%"></dx:ASPxTextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: right">邮编：
            </td>
            <td>
                <dx:ASPxTextBox ID="txtYB1" ClientInstanceName="UCLHFenHuQS_txtYB1" runat="server" Width="100%"></dx:ASPxTextBox>
            </td>
            <td style="text-align: right">
                联系电话：
            </td>
            <td>
                <dx:ASPxTextBox ID="txtLXDH1" ClientInstanceName="UCLHFenHuQS_txtLXDH1" runat="server" Width="100%"></dx:ASPxTextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: right">地址：
            </td>
            <td colspan="3">
                <dx:ASPxTextBox ID="txtDZ1" ClientInstanceName="UCLHFenHuQS_txtDZ1" runat="server" Width="100%"></dx:ASPxTextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: right">财务户名：
            </td>
            <td colspan="3">
                <dx:ASPxTextBox ID="txtCWHM1" ClientInstanceName="UCLHFenHuQS_txtCWHM1" runat="server" Width="100%"></dx:ASPxTextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: right">财务地址：
            </td>
            <td colspan="3">
                <dx:ASPxTextBox ID="txtCWDZ1" ClientInstanceName="UCLHFenHuQS_txtCWDZ1" runat="server" Width="100%"></dx:ASPxTextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: right">财务邮编：
            </td>
            <td colspan="3">
                <dx:ASPxTextBox ID="txtCWYB1" ClientInstanceName="UCLHFenHuQS_txtCWYB1" runat="server" Width="100%"></dx:ASPxTextBox>
            </td>
        </tr>
                             <tr>
                                 <td colspan="4"><hr /></td>
                             </tr>
                             <tr>
        <td style="text-align: right">开户户名：
        </td>
        <td>
            <dx:ASPxTextBox ID="txtKHHM1" ClientInstanceName="UCLHFenHuQS_txtKHHM1" runat="server" Width="100%"></dx:ASPxTextBox>
        </td>
        <td style="text-align: right">开户银行：
        </td>
        <td>
            <dx:ASPxTextBox ID="txtKHYH1" ClientInstanceName="UCLHFenHuQS_txtKHYH1" runat="server" Width="100%"></dx:ASPxTextBox>
        </td>
    </tr>
    <tr>
        <td style="text-align: right">银行账号：
        </td>
        <td colspan="2">
            <dx:ASPxTextBox ID="txtKHZH1" ClientInstanceName="UCLHFenHuQS_txtKHZH1" runat="server" Width="100%"></dx:ASPxTextBox>
        </td>
        <td>
            <dx:ASPxCheckBox ID="cbTS1" ClientInstanceName="UCLHFenHuQS_cbTS1" runat="server" Text="托收"></dx:ASPxCheckBox>
        </td>
    </tr>
    <tr>
        <td style="text-align: right">合同号：
        </td>
        <td colspan="3">
            <dx:ASPxTextBox ID="txtHTH1" ClientInstanceName="UCLHFenHuQS_txtHTH1" runat="server" Width="100%"></dx:ASPxTextBox>
        </td>
    </tr>
    </table>
                     </div>
            </fieldset>
             </td>
            <td runat="server" id="td_FenHu2">
                 <fieldset style="border: 1px solid  cornflowerblue;">
                <legend><b>分户2</b></legend>
                     <div>
                         <table style="width:100%">
       <tr>
        <td style="text-align: right">
            用户号：
        </td>
        <td>
            <dx:ASPxTextBox ID="txtYHH2"  ClientInstanceName="UCLHFenHuQS_txtYHH2" runat="server" Width="100%" ClientSideEvents-LostFocus="function(s,e){YHH2_LostFocus(s);}"></dx:ASPxTextBox>
        </td>
        <td style="text-align: right">
        </td>
        <td></td>
    </tr>
        <tr>
            <td style="text-align: right">用户名：
            </td>            
            <td colspan="3">
                <dx:ASPxTextBox ID="txtYHM2"  ClientInstanceName="UCLHFenHuQS_txtYHM2" runat="server" Width="100%"></dx:ASPxTextBox>
            </td>
        </tr>
        <tr runat="server" id="trYH2ZGBM">
            <td style="text-align: right">主管部门：
            </td>            
            <td colspan="3">
                <dx:ASPxComboBox ID="cmbZGBM2" ClientInstanceName="UCLHFenHuQS_cmbZGBM2" runat="server" ValueType="System.String" Width="100%">
                    </dx:ASPxComboBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: right">水价：
            </td>
            <td>
                <dx:ASPxTextBox ID="txtYSJ2" ClientInstanceName="UCLHFenHuQS_txtYSJ2" runat="server" Width="100%"></dx:ASPxTextBox>
            </td>
            <td style="text-align: right">
                业务员：
            </td>
            <td>
                 <dx:ASPxComboBox ID="cmbYWY2" ClientInstanceName="UCLHFenHuQS_cmbYWY2" runat="server" ValueType="System.String" Width="100%"></dx:ASPxComboBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: right">行政区：
            </td>
            <td>
                <dx:ASPxComboBox ID="cmbXZQ2" ClientInstanceName="UCLHFenHuQS_cmbXZQ2" runat="server" ValueType="System.String" Width="100%"></dx:ASPxComboBox>
            </td>
            <td style="text-align: right">
                环线标记：
            </td>
            <td>
                 <dx:ASPxComboBox ID="cmbHXBJ2" ClientInstanceName="UCLHFenHuQS_cmbHXBJ2" runat="server" ValueType="System.String" Width="100%"></dx:ASPxComboBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: right">取水用途：
            </td>
            <td>
                <dx:ASPxComboBox ID="cmbQSYT2" ClientInstanceName="UCLHFenHuQS_cmbQSYT2" runat="server" ValueType="System.String" Width="100%"></dx:ASPxComboBox>
            </td>
            <td style="text-align: right">
                行业分类：
            </td>
            <td>
                 <dx:ASPxComboBox ID="cmbHYFL2" ClientInstanceName="UCLHFenHuQS_cmbHYFL2" runat="server" ValueType="System.String" Width="100%"></dx:ASPxComboBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: right">流域：
            </td>
            <td>
                <dx:ASPxComboBox ID="cmbLY2" ClientInstanceName="UCLHFenHuQS_cmbLY2" runat="server" ValueType="System.String" Width="100%"></dx:ASPxComboBox>
            </td>
            <td style="text-align: right">
                水利分片：
            </td>
            <td>
                 <dx:ASPxComboBox ID="cmbSLFP2" ClientInstanceName="UCLHFenHuQS_cmbSLFP2" runat="server" ValueType="System.String" Width="100%"></dx:ASPxComboBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: right">水资源分区：
            </td>
            <td>
                <dx:ASPxComboBox ID="cmbSZYFQ2" ClientInstanceName="UCLHFenHuQS_cmbSZYFQ2" runat="server" ValueType="System.String" Width="100%"></dx:ASPxComboBox>
            </td>
            <td style="text-align: right">
                装表计量：
            </td>
            <td>
                 <dx:ASPxComboBox ID="cmbZBJL2" ClientInstanceName="UCLHFenHuQS_cmbZBJL2" runat="server" ValueType="System.String" Width="100%">
                     <Items>
                         <dx:ListEditItem Text="是" Value="1" />
                         <dx:ListEditItem Text="否" Value="0" />
                     </Items>
                 </dx:ASPxComboBox>
            </td>
        </tr>
                             <tr>
                                 <td colspan="4"><hr /></td>
                             </tr>
                             <tr>
            <td style="text-align: right">联系人：
            </td>
            <td>
                <dx:ASPxTextBox ID="txtLXR2" ClientInstanceName="UCLHFenHuQS_txtLXR2" runat="server" Width="100%"></dx:ASPxTextBox>
            </td>
            <td style="text-align: right">
                联系部门：
            </td>
            <td>
                <dx:ASPxTextBox ID="txtLXBM2" ClientInstanceName="UCLHFenHuQS_txtLXBM2" runat="server" Width="100%"></dx:ASPxTextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: right">邮编：
            </td>
            <td>
                <dx:ASPxTextBox ID="txtYB2" ClientInstanceName="UCLHFenHuQS_txtYB2" runat="server" Width="100%"></dx:ASPxTextBox>
            </td>
            <td style="text-align: right">
                联系电话：
            </td>
            <td>
                <dx:ASPxTextBox ID="txtLXDH2" ClientInstanceName="UCLHFenHuQS_txtLXDH2" runat="server" Width="100%"></dx:ASPxTextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: right">地址：
            </td>
            <td colspan="3">
                <dx:ASPxTextBox ID="txtDZ2" ClientInstanceName="UCLHFenHuQS_txtDZ2" runat="server" Width="100%"></dx:ASPxTextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: right">财务户名：
            </td>
            <td colspan="3">
                <dx:ASPxTextBox ID="txtCWHM2" ClientInstanceName="UCLHFenHuQS_txtCWHM2" runat="server" Width="100%"></dx:ASPxTextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: right">财务地址：
            </td>
            <td colspan="3">
                <dx:ASPxTextBox ID="txtCWDZ2" ClientInstanceName="UCLHFenHuQS_txtCWDZ2" runat="server" Width="100%"></dx:ASPxTextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: right">财务邮编：
            </td>
            <td colspan="3">
                <dx:ASPxTextBox ID="txtCWYB2" ClientInstanceName="UCLHFenHuQS_txtCWYB2" runat="server" Width="100%"></dx:ASPxTextBox>
            </td>
        </tr>
                             <tr>
                                 <td colspan="4"><hr /></td>
                             </tr>
                             <tr>
        <td style="text-align: right">开户户名：
        </td>
        <td>
            <dx:ASPxTextBox ID="txtKHHM2" ClientInstanceName="UCLHFenHuQS_txtKHHM2" runat="server" Width="100%"></dx:ASPxTextBox>
        </td>
        <td style="text-align: right">开户银行：
        </td>
        <td>
            <dx:ASPxTextBox ID="txtKHYH2" ClientInstanceName="UCLHFenHuQS_txtKHYH2" runat="server" Width="100%"></dx:ASPxTextBox>
        </td>
    </tr>
    <tr>
        <td style="text-align: right">银行账号：
        </td>
        <td colspan="2">
            <dx:ASPxTextBox ID="txtKHZH2" ClientInstanceName="UCLHFenHuQS_txtKHZH2" runat="server" Width="100%"></dx:ASPxTextBox>
        </td>
        <td>
            <dx:ASPxCheckBox ID="cbTS2" ClientInstanceName="UCLHFenHuQS_cbTS2" runat="server" Text="托收"></dx:ASPxCheckBox>
        </td>
    </tr>
    <tr>
        <td style="text-align: right">合同号：
        </td>
        <td colspan="3">
            <dx:ASPxTextBox ID="txtHTH2" ClientInstanceName="UCLHFenHuQS_txtHTH2" runat="server" Width="100%"></dx:ASPxTextBox>
        </td>
    </tr>
    </table>
                     </div>
            </fieldset>
             </td>
            <td runat="server" id="td_FenHu3">
                 <fieldset style="border: 1px solid  cornflowerblue;">
                <legend><b>分户3</b></legend>
                     <div>
                         <table style="width:100%">
       <tr>
        <td style="text-align: right">
            用户号：
        </td>
        <td>
            <dx:ASPxTextBox ID="txtYHH3" ClientInstanceName="UCLHFenHuQS_txtYHH3" runat="server" Width="100%" ClientSideEvents-LostFocus="function(s,e){YHH3_LostFocus(s);}"></dx:ASPxTextBox>
        </td>
        <td style="text-align: right">
        </td>
        <td></td>
    </tr>
        <tr>
            <td style="text-align: right">用户名：
            </td>            
            <td colspan="3">
                <dx:ASPxTextBox ID="txtYHM3" ClientInstanceName="UCLHFenHuQS_txtYHM3" runat="server" Width="100%"></dx:ASPxTextBox>
            </td>
        </tr>
        <tr runat="server" id="trYH3ZGBM">
            <td style="text-align: right">主管部门：
            </td>            
            <td colspan="3">
                <dx:ASPxComboBox ID="cmbZGBM3" ClientInstanceName="UCLHFenHuQS_cmbZGBM3" runat="server" ValueType="System.String" Width="100%">
                    </dx:ASPxComboBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: right">水价：
            </td>
            <td>
                <dx:ASPxTextBox ID="txtYSJ3" ClientInstanceName="UCLHFenHuQS_txtYSJ3" runat="server" Width="100%"></dx:ASPxTextBox>
            </td>
            <td style="text-align: right">
                业务员：
            </td>
            <td>
                 <dx:ASPxComboBox ID="cmbYWY3" ClientInstanceName="UCLHFenHuQS_cmbYWY3" runat="server" ValueType="System.String" Width="100%"></dx:ASPxComboBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: right">行政区：
            </td>
            <td>
                <dx:ASPxComboBox ID="cmbXZQ3" ClientInstanceName="UCLHFenHuQS_cmbXZQ3" runat="server" ValueType="System.String" Width="100%"></dx:ASPxComboBox>
            </td>
            <td style="text-align: right">
                环线标记：
            </td>
            <td>
                 <dx:ASPxComboBox ID="cmbHXBJ3" ClientInstanceName="UCLHFenHuQS_cmbHXBJ3" runat="server" ValueType="System.String" Width="100%"></dx:ASPxComboBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: right">取水用途：
            </td>
            <td>
                <dx:ASPxComboBox ID="cmbQSYT3" ClientInstanceName="UCLHFenHuQS_cmbQSYT3" runat="server" ValueType="System.String" Width="100%"></dx:ASPxComboBox>
            </td>
            <td style="text-align: right">
                行业分类：
            </td>
            <td>
                 <dx:ASPxComboBox ID="cmbHYFL3" ClientInstanceName="UCLHFenHuQS_cmbHYFL3" runat="server" ValueType="System.String" Width="100%"></dx:ASPxComboBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: right">流域：
            </td>
            <td>
                <dx:ASPxComboBox ID="cmbLY3" ClientInstanceName="UCLHFenHuQS_cmbLY3" runat="server" ValueType="System.String" Width="100%"></dx:ASPxComboBox>
            </td>
            <td style="text-align: right">
                水利分片：
            </td>
            <td>
                 <dx:ASPxComboBox ID="cmbSLFP3" ClientInstanceName="UCLHFenHuQS_cmbSLFP3" runat="server" ValueType="System.String" Width="100%"></dx:ASPxComboBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: right">水资源分区：
            </td>
            <td>
                <dx:ASPxComboBox ID="cmbSZYFQ3" ClientInstanceName="UCLHFenHuQS_cmbSZYFQ3" runat="server" ValueType="System.String" Width="100%"></dx:ASPxComboBox>
            </td>
            <td style="text-align: right">
                装表计量：
            </td>
            <td>
                 <dx:ASPxComboBox ID="cmbZBJL3" ClientInstanceName="UCLHFenHuQS_cmbZBJL3" runat="server" ValueType="System.String" Width="100%">
                     <Items>
                         <dx:ListEditItem Text="是" Value="1" />
                         <dx:ListEditItem Text="否" Value="0" />
                     </Items>
                 </dx:ASPxComboBox>
            </td>
        </tr>
                             <tr>
                                 <td colspan="4"><hr /></td>
                             </tr>
                             <tr>
            <td style="text-align: right">联系人：
            </td>
            <td>
                <dx:ASPxTextBox ID="txtLXR3" ClientInstanceName="UCLHFenHuQS_txtLXR3" runat="server" Width="100%"></dx:ASPxTextBox>
            </td>
            <td style="text-align: right">
                联系部门：
            </td>
            <td>
                <dx:ASPxTextBox ID="txtLXBM3" ClientInstanceName="UCLHFenHuQS_txtLXBM3" runat="server" Width="100%"></dx:ASPxTextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: right">邮编：
            </td>
            <td>
                <dx:ASPxTextBox ID="txtYB3" ClientInstanceName="UCLHFenHuQS_txtYB3" runat="server" Width="100%"></dx:ASPxTextBox>
            </td>
            <td style="text-align: right">
                联系电话：
            </td>
            <td>
                <dx:ASPxTextBox ID="txtLXDH3" ClientInstanceName="UCLHFenHuQS_txtLXDH3" runat="server" Width="100%"></dx:ASPxTextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: right">地址：
            </td>
            <td colspan="3">
                <dx:ASPxTextBox ID="txtDZ3" ClientInstanceName="UCLHFenHuQS_txtDZ3" runat="server" Width="100%"></dx:ASPxTextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: right">财务户名：
            </td>
            <td colspan="3">
                <dx:ASPxTextBox ID="txtCWHM3" ClientInstanceName="UCLHFenHuQS_txtCWHM3" runat="server" Width="100%"></dx:ASPxTextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: right">财务地址：
            </td>
            <td colspan="3">
                <dx:ASPxTextBox ID="txtCWDZ3" ClientInstanceName="UCLHFenHuQS_txtCWDZ3" runat="server" Width="100%"></dx:ASPxTextBox>
            </td>
        </tr>
        <tr>
            <td style="text-align: right">财务邮编：
            </td>
            <td colspan="3">
                <dx:ASPxTextBox ID="txtCWYB3" ClientInstanceName="UCLHFenHuQS_txtCWYB3" runat="server" Width="100%"></dx:ASPxTextBox>
            </td>
        </tr>
                             <tr>
                                 <td colspan="4"><hr /></td>
                             </tr>
                             <tr>
        <td style="text-align: right">开户户名：
        </td>
        <td>
            <dx:ASPxTextBox ID="txtKHHM3" ClientInstanceName="UCLHFenHuQS_txtKHHM3" runat="server" Width="100%"></dx:ASPxTextBox>
        </td>
        <td style="text-align: right">开户银行：
        </td>
        <td>
            <dx:ASPxTextBox ID="txtKHYH3" ClientInstanceName="UCLHFenHuQS_txtKHYH3" runat="server" Width="100%"></dx:ASPxTextBox>
        </td>
    </tr>
    <tr>
        <td style="text-align: right">银行账号：
        </td>
        <td colspan="2">
            <dx:ASPxTextBox ID="txtKHZH3" ClientInstanceName="UCLHFenHuQS_txtKHZH3" runat="server" Width="100%"></dx:ASPxTextBox>
        </td>
        <td>
            <dx:ASPxCheckBox ID="cbTS3" ClientInstanceName="UCLHFenHuQS_cbTS3" runat="server" Text="托收"></dx:ASPxCheckBox>
        </td>
    </tr>
    <tr>
        <td style="text-align: right">合同号：
        </td>
        <td colspan="3">
            <dx:ASPxTextBox ID="txtHTH3" ClientInstanceName="UCLHFenHuQS_txtHTH3" runat="server" Width="100%"></dx:ASPxTextBox>
        </td>
    </tr>
    </table>
                     </div>
            </fieldset>
             </td>
        </tr>
    </table>
    <table style="margin:auto;width:100%">
        <tr>
             <td runat="server" id="tdList1" style="width:33%">
                <fieldset style="border: 1px solid  cornflowerblue;">
                <legend><b>分户1水表</b></legend>
                 <dx:ASPxGridView ID="gvList1" runat="server" AutoGenerateColumns="False" EnableCallBacks="false" KeyFieldName="S_SHUIBIAOH" Theme="Aqua1" Width="100%">
                    <Columns>
                        <dx:GridViewDataTextColumn Width="10%" CellStyle-HorizontalAlign="Center">
                            <DataItemTemplate>
                                <dx:ASPxCheckBox ID="cb" runat="server"></dx:ASPxCheckBox>
                                <asp:HiddenField ID="hfShuiBiaoBH" runat="server" Value='<%#Eval("S_SHUIBIAOH") %>' />
                            </DataItemTemplate>
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="S_SHUIBIAOH" Caption="水表号" Width="30%">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="S_QUSHUIK" Caption="井号" Width="30%">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="S_LAOBIANH" Caption="原井号" Width="30%">
                        </dx:GridViewDataTextColumn>
                    </Columns>
                    <Settings VerticalScrollableHeight="100" VerticalScrollBarMode="Auto" HorizontalScrollBarMode="Auto" />
                    <SettingsBehavior AllowSort="false" />
                </dx:ASPxGridView>
                    <div>
                        <table style="width:100%">
                             <tr>
                            <td align="right">
                                <dx:ASPxButton ID="btn12" ClientInstanceName="UCLHFenHuQS_btn12" runat="server" Text="分户2" UseSubmitBehavior="false" OnClick="btn12_Click"></dx:ASPxButton>
                                <dx:ASPxButton ID="btn13" ClientInstanceName="UCLHFenHuQS_btn13" runat="server" Text="分户3" UseSubmitBehavior="false" OnClick="btn13_Click"></dx:ASPxButton>
                            </td>
                        </tr>
                        </table>
                    </div>
                    </fieldset>
            </td>
            <td runat="server" id="tdList2" style="width:33%">
                <fieldset style="border: 1px solid  cornflowerblue;">
                <legend><b>分户2水表</b></legend>
                <dx:ASPxGridView ID="gvList2" runat="server" AutoGenerateColumns="False" EnableCallBacks="false" KeyFieldName="S_SHUIBIAOH" Theme="Aqua1" Width="100%">
                    <Columns>
                        <dx:GridViewDataTextColumn Width="10%" CellStyle-HorizontalAlign="Center">
                            <DataItemTemplate>
                                <dx:ASPxCheckBox ID="cb" runat="server"></dx:ASPxCheckBox>
                                <asp:HiddenField ID="hfShuiBiaoBH" runat="server" Value='<%#Eval("S_SHUIBIAOH") %>' />
                            </DataItemTemplate>
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="S_SHUIBIAOH" Caption="水表号" Width="30%">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="S_QUSHUIK" Caption="井号" Width="30%">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="S_LAOBIANH" Caption="原井号" Width="30%">
                        </dx:GridViewDataTextColumn>
                    </Columns>
                    <Settings VerticalScrollableHeight="100" VerticalScrollBarMode="Auto" HorizontalScrollBarMode="Auto" />
                    <SettingsBehavior AllowSort="false" />
                </dx:ASPxGridView>
                    <div>
                        <table style="width:100%">
                             <tr>
                            <td align="right">
                                <dx:ASPxButton ID="btn21" ClientInstanceName="UCLHFenHuQS_btn21" runat="server" Text="分户1" UseSubmitBehavior="false" OnClick="btn21_Click"></dx:ASPxButton>
                                <dx:ASPxButton ID="btn23" ClientInstanceName="UCLHFenHuQS_btn23" runat="server" Text="分户3" UseSubmitBehavior="false" OnClick="btn23_Click"></dx:ASPxButton>
                            </td>
                        </tr>
                        </table>
                    </div>
                    </fieldset>
            </td>
            <td runat="server" id="tdList3">
                <fieldset style="border: 1px solid  cornflowerblue;">
                <legend><b>分户3水表</b></legend>
                <dx:ASPxGridView ID="gvList3" runat="server" AutoGenerateColumns="False" EnableCallBacks="false" KeyFieldName="S_SHUIBIAOH" Theme="Aqua1" Width="100%">
                    <Columns>
                        <dx:GridViewDataTextColumn Width="10%" CellStyle-HorizontalAlign="Center">
                            <DataItemTemplate>
                                <dx:ASPxCheckBox ID="cb" runat="server"></dx:ASPxCheckBox>
                                <asp:HiddenField ID="hfShuiBiaoBH" runat="server" Value='<%#Eval("S_SHUIBIAOH") %>' />
                            </DataItemTemplate>
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="S_SHUIBIAOH" Caption="水表号" Width="30%">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="S_QUSHUIK" Caption="井号" Width="30%">
                        </dx:GridViewDataTextColumn>
                        <dx:GridViewDataTextColumn FieldName="S_LAOBIANH" Caption="原井号" Width="30%">
                        </dx:GridViewDataTextColumn>
                    </Columns>
                    <Settings VerticalScrollableHeight="100" VerticalScrollBarMode="Auto" HorizontalScrollBarMode="Auto" />
                    <SettingsBehavior AllowSort="false" />
                </dx:ASPxGridView>
                    <div>
                        <table style="width:100%">
                             <tr>
                            <td align="right">
                                <dx:ASPxButton ID="btn31" ClientInstanceName="UCLHFenHuQS_btn31" runat="server" Text="分户1" UseSubmitBehavior="false" OnClick="btn31_Click"></dx:ASPxButton>
                                <dx:ASPxButton ID="btn32" ClientInstanceName="UCLHFenHuQS_btn32" runat="server" Text="分户2" UseSubmitBehavior="false" OnClick="btn32_Click"></dx:ASPxButton>
                            </td>
                        </tr>
                        </table>
                    </div>
                    </fieldset>
            </td>
        </tr>
    </table>

    </div>